package com.dayaokeji.rhythmschoolstudent.client.mine;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.dayaokeji.rhythmschoolstudent.R;
import com.dayaokeji.rhythmschoolstudent.client.common.base.common.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 帮助与反馈
 */
public class HelperAndFeedbackActivity extends BaseActivity {

    @BindView(R.id.toolbar)
    Toolbar toolbar;

    public static void navigation(Context context) {
        Intent intent = new Intent(context, HelperAndFeedbackActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_helper_and_feedback);
        setSupportActionBar(toolbar);
    }

    @OnClick({R.id.tv_helper,R.id.tv_feedback})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.tv_helper:
                AppHelperActivity.navigation(HelperAndFeedbackActivity.this);
                break;
            case R.id.tv_feedback:
                FeedbackActivity.navigation(HelperAndFeedbackActivity.this);
                break;
        }
    }
}
